package com.foucus.myfouces.Resource.Util;

import android.util.Log;

import org.json.JSONException;
import org.json.JSONObject;

import java.io.IOException;

import okhttp3.ResponseBody;

/**
 * Created by yf-06 on 2017/6/29.
 */

public class JsonUtil {

    public static String JsonToStr(ResponseBody responseBody) {
        try {
            String jsonStr = responseBody.string();
            Log.w("ssss", "argumentResp==>" + jsonStr);

            return jsonStr;
        } catch (IOException e) {
            e.printStackTrace();
        }
        return null;
    }
}
